#include <iostream>
#include <memory>
#include "EpollServer.hpp"

string echoServer(string r){
    string resp = r;
    resp += "[echo]\r\n";

    return resp;
}

int main(){
    unique_ptr<EpollServer> svr(new EpollServer(echoServer));
    svr->InitServer();
    svr->Start();

    return 0;
}